package com.study.entity;

import java.sql.Timestamp;

/**
 * @Description:
 * @Author: LiuQun
 * @Date: 2022/8/3 22:48
 */

public class UrlViewCount {
    /**
     * url
     */
    public String url;

    /**
     * 数量
     */
    public Long num;

    /**
     * 窗口起始时间
     */
    public Long windowStart;

    /**
     * 窗口结束时间
     */
    public Long windowEnd;

    public UrlViewCount() {
    }

    public UrlViewCount(String url, Long num, Long windowStart, Long windowEnd) {
        this.url = url;
        this.num = num;
        this.windowStart = windowStart;
        this.windowEnd = windowEnd;
    }

    @Override
    public String toString() {
        return "UrlViewCount{" +
                "url='" + url + '\'' +
                ", num=" + num +
                ", windowStart=" + new Timestamp(windowStart) +
                ", windowEnt=" + new Timestamp(windowEnd) +
                '}';
    }
}
